package com.qyx;

import java.util.ArrayList;
import java.util.List;

public class title02_3 {

	public static void removerepeatele(){
		String[] attr={ "a", "b","c","a","b","d" };
		List<String> list =new ArrayList<String>();

		for (String i:attr) {
			if (!list.contains(i))
				list.add(i);
			}
		System.out.println(list);
		}
	
	public static void main(String[] args) {
           removerepeatele();
    }

}
